/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.account.mapper;

import com.jeeplus.core.persistence.BaseMapper;
import com.jeeplus.core.persistence.annotation.MyBatisMapper;
import com.jeeplus.modules.account.entity.Account;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户钱包MAPPER接口
 * @author freedom
 * @version 2020-09-26
 */
@MyBatisMapper
public interface AccountMapper extends BaseMapper<Account> {
    Double getTotalBuy();

    List<Account> findAccountList(Account entity);

    Double getTodayDynamic();

    void saveTeamAndTeamProfit(@Param(value = "money") Double money,@Param(value = "sendMoney") Double sendMoney,@Param(value = "id") String id);

    void saveDynamic(@Param(value = "sendMoney") Double sendMoney,@Param(value = "id") String id);
}